/**
 * 
 */
package fr.upmc.alasca.centreCalcul.interne.machinePhysique.capteurCoeurs.ports;

import java.util.List;

import fr.upmc.alasca.centreCalcul.interne.controleurApplication.ControleurApplication;
import fr.upmc.alasca.centreCalcul.interne.machinePhysique.capteurCoeurs.interfaces.CapteurCoeursControleurPushI;
import fr.upmc.alasca.centreCalcul.objets.CoeurParam;
import fr.upmc.components.ports.AbstractInboundPort;


/**
 * @author Antoine Lavaire, Sabri Labassi, Thibaut Fleury, Ryme Fantazi
 */
public	class	CapteurCoeursControleurPushInboundPort
extends			AbstractInboundPort
implements		CapteurCoeursControleurPushI
{
	private static final long serialVersionUID = 1L;
	
	
	public	CapteurCoeursControleurPushInboundPort
	(
		String						p_uri,
		ControleurApplication		p_owner
	) throws	Exception
	{
		super(p_uri, CapteurCoeursControleurPushI.class, p_owner);
		
		assert this.uri != null;
	}
	
	
	@Override
	public	void	pushCoeursConfig
	(
		List<CoeurParam>	p_coeurs,
		String				p_uriMP
	) throws	Exception
	{
		((ControleurApplication)this.owner).pushCoeursConfig(p_coeurs, p_uriMP);
	}

}
